package com.ftg.mall.service.impl.pms;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ftg.mall.base.entity.pms.ProductFullReduction;
import com.ftg.mall.mapper.pms.ProductFullReductionMapper;
import com.ftg.mall.service.pms.IProductFullReductionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 产品满减表(只针对同商品) 服务实现类
 * </p>
 *
 * @author wangty
 * @since 2022-11-15
 */
@Service
public class ProductFullReductionServiceImpl extends ServiceImpl<ProductFullReductionMapper, ProductFullReduction> implements IProductFullReductionService {

    @Resource
    ProductFullReductionMapper productFullReductionMapper;

    @Override
    public List<Map<String, Object>> productPage(Integer page,Integer limits) {
        return productFullReductionMapper.productPage(page,limits);
    }
}
